package com.syn.michat.im.service;

import com.syn.michat.im.model.MessageEntity;
import com.syn.michat.im.model.Package;
import com.syn.michat.util.exception.ClientException;

import javax.websocket.Session;
import java.io.IOException;

public interface PackageService {

    public void resPackageHandler(String packageStr, Session session) throws Exception;

    public void sendPackage(Package aPackage, Session session) throws Exception;


}
